package com.iuweb.commen.domain;

import java.util.List;

/**
 * @author shi.li
 *  2016年2月25日 上午9:18:50
 *Role
 */
public class Role  {

    /**
     *serialVersionUID
     */
    private static final long serialVersionUID = -3504046274579071280L;

    /**
     *Code 编码
     */
    private String code;
    
    /**
     *Name 系统角色名称
     */
    private String name;

    /**
     *Description 描述信息
     */
    private String description;
    
    /**
     *Resources 资源
     */
    private List<Resource> resources;
    
    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     *            the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the resources
     */
    public List<Resource> getResource() {
        return resources;
    }

    /**
     * @param resources
     *            the resources to set
     */
    public void setResource(List<Resource> resources) {
        this.resources = resources;
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     *            the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
}
